package com.hqyj.ssm.service;
import com.hqyj.ssm.pojo.User;
import com.hqyj.ssm.utils.ResultInfo;

import java.util.List;

public interface UserService {

    //login
    ResultInfo login(String username,String password);

    ResultInfo selectAll(int pageNum,int pageSize,String username);

    ResultInfo insertUser(User user);

    ResultInfo deleteUserByUsername(String username);

    ResultInfo updateUserByUsername(User user);

    ResultInfo selectUser();

    ResultInfo checkUsername(String username);
}
